#ifndef CHAT_SERVICE_RPC_SERVER_H
#define CHAT_SERVICE_RPC_SERVER_H

#include "../rpc_src/message.grpc.pb.h"
#include "../rpc_src/message.pb.h"
#include <grpc++/grpc++.h>

class chat_service_rpc_server:public message::chatServer::Service{

public:
    //这里是服务端的处理
    virtual ::grpc::Status NotifyAddFriendApply(::grpc::ServerContext* context, const ::message::reqNotifyAddFriendApply* request, ::message::resNotifyAddFriendApply* response);
    virtual ::grpc::Status notifyChatTextMsg(::grpc::ServerContext* context, const ::message::reqNotifyChatTextMsg* request, ::message::resNotifyChatTextMsg* response);
    virtual ::grpc::Status NotifyFriendApplyRes(::grpc::ServerContext* context, const ::message::reqNotifyFriendApplyRes* request, ::message::resNotifyFriendApplyRes* response);
};






#endif